﻿using Sustainalytics.Entities;
using System;

namespace Sustainalytics.ClientDW.Entities.Universes
{
    public class UniverseCompany : IEntity, IAccountRelatedEntity
    {
        public UniverseCompany()
        {
            this.Id = Guid.NewGuid();
            this.Created = DateTime.UtcNow;
            this.LastUpdated = DateTime.UtcNow;
        }

        public Guid Id { get; set; }
        public Guid CompanyId { get; set; }
        public Guid AccountId { get; set; }
        public string CIQID { get; set; }
        public int UniverseId { get; set; }
        public DateTime Created { get; set; }
        public DateTime LastUpdated { get; set; }

        public override string ToString()
        {
            return string.Format("CompanyId: {0}, AccountId: {1}, CIQID: {2}, UniverseId: {3}", CompanyId, AccountId, CIQID, UniverseId);
        }
    }
}
